CC = gcc -shared -fPIC
FILES = Data.c
OUT = Data.so
LIBS = $(pkg-config --cflags lua-5.2) -I/usr/include/lua5.2

build: $(FILES)
	$(CC) -o $(OUT) $(FILES) $(LIBS)
clean:
	rm -f *.o *.so Map

rebuild: clean build
